

package com.hazelcast.spi.impl.operationservice;

/**
 * The possible actions that can be taken when a certain exception is thrown. E.g. when a map.get() is executed on a member
 * where the partition has just moved to another member, the RETRY_INVOCATION would be used.
 */
public enum ExceptionAction {

    /**
     * Indicates that the operation can be retried.
     */
    RETRY_INVOCATION,

    /**
     * Indicates that the exception should bubble up.
     */
    THROW_EXCEPTION
}
